﻿<%@ Page  MasterPageFile="~/Site.Master" Language="C#" AutoEventWireup="true" CodeBehind="CustomerList.aspx.cs" Inherits="RabbitManage.UI.CustomerList" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <hgroup class="title">
        <h1><%: Title %>.</h1>
        <h2>Your contact page.</h2>
    </hgroup>
    
    <section class="contact">
        <header>
            <h3>Customer:</h3>
        </header>
        <p>
            <%= list.Count %>个
            <br />
            
            <table>
                <td>Name</td>
                <td>CellPhone</td>
                <td>TotalScore</td>
            
                <asp:Repeater runat="server" ID="productRepeater" >
                    <ItemTemplate>
                        <tr>
                            <td><%#Eval("Name") %></td>
                            <td><%#Eval("CellPhone") %></td>
                            <td><%#Eval("TotalScore") %></td>

                            <td>
                                <a href="../Action/CustomerBlack.aspx?id=<%#Eval("Id") %>" onclick="return confirm('确认拉黑？')">拉黑</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </p>
    </section>
</asp:Content>